using UnityEngine;

public class OptionsUIController : MonoBehaviour
{
	public void PrivacyDropdown(int itemID)
	{
		switch (itemID)
		{
		case 0:
			Application.OpenURL("https://miksumortti.com/privacy-policy");
			break;
		case 1:
			AdvertisementHandler.ShowConsentForm();
			break;
		}
	}

	public void LinkDropdown(int itemID)
	{
		switch (itemID)
		{
		case 0:
			Application.OpenURL("https://miksumortti.com/");
			break;
		case 1:
			Application.OpenURL("market://details?id=fi.Miksumortti.SpinTops");
			break;
		case 2:
			Application.OpenURL("https://plus.google.com/113126465110131891986");
			break;
		case 3:
			Application.OpenURL("mailto:contact.miksumortti@gmail.com?subject=Spin-Tops User Mail&body=Write your bug, question or whatever here. Please write in English or Finnish. Thanks!");
			break;
		}
	}
}
